package service

import "github.com/google/wire"

var Provider = wire.NewSet(
	NewModuleTable,
	NewDevtoolsSvc,
	NewClassGen,
	NewDomainGen,
	// wire.FieldsOf(new(*DevtoolsSvc), "Table"),
)

func NewDevtoolsSvc(table *ModuleTable, Domain *DomainGen, gen *ClassGen) *DevtoolsSvc {
	return &DevtoolsSvc{
		Table:  table,
		Domain: Domain,
		Gen:    gen,
	}
}

type DevtoolsSvc struct {
	Table  *ModuleTable
	Gen    *ClassGen
	Domain *DomainGen
}
